package com.dawn.module.hospital.controller.admin.msgsenduser.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 消息推送用户新增/修改 Request VO")
@Data
public class MsgSendUserSaveReqVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "9042")
    private Long id;

    @Schema(description = "appid", requiredMode = Schema.RequiredMode.REQUIRED, example = "32312")
    @NotEmpty(message = "appid不能为空")
    private String appId;

    @Schema(description = "应用名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @NotEmpty(message = "应用名称不能为空")
    private String appName;

    @Schema(description = "应用类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotEmpty(message = "应用类型不能为空")
    private String appType;

    @Schema(description = "用户名", example = "张三")
    private String username;

    @Schema(description = "openid", requiredMode = Schema.RequiredMode.REQUIRED, example = "26560")
    @NotEmpty(message = "openid不能为空")
    private String openid;

    @Schema(description = "电话")
    private String phone;

    @Schema(description = "推送类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotEmpty(message = "推送类型不能为空")
    private String sendType;

    @Schema(description = "推送名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    @NotEmpty(message = "推送名称不能为空")
    private String sendName;

    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotNull(message = "状态不能为空")
    private Integer status;

}